package com.ruikong.dazhi.model.output;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ProgrammeOutput {
    private int programmeId;
    private boolean isDeleted;
    private String programmeName;
    private int productId;
    private double programmeAmount;//计划量
    private double completionAmount;//完成量
    private double rationalLoss;//合理损耗
    private int programmeState;//0未排工单；1已排工单；2已达标（产量已达计划量）；3已结束（手动操作结束计划）
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  Date planWeighingTime; //计划称配料时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planConfigurationTime;//计划配制时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planFillingTime;//计划灌装时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planPackingTime;//计划包装时间

    private Integer fillingLineId;
    private Integer tankId;
    private Integer workstationId;
    private String packagelineName;
    private Integer productLineId;
    private Date planTime;
    private String issue;

    public Date getPlanWeighingTime() {
        return planWeighingTime;
    }

    public void setPlanWeighingTime(Date planWeighingTime) {
        this.planWeighingTime = planWeighingTime;
    }

    public Date getPlanConfigurationTime() {
        return planConfigurationTime;
    }

    public void setPlanConfigurationTime(Date planConfigurationTime) {
        this.planConfigurationTime = planConfigurationTime;
    }

    public Date getPlanFillingTime() {
        return planFillingTime;
    }

    public void setPlanFillingTime(Date planFillingTime) {
        this.planFillingTime = planFillingTime;
    }

    public Date getPlanPackingTime() {
        return planPackingTime;
    }

    public void setPlanPackingTime(Date planPackingTime) {
        this.planPackingTime = planPackingTime;
    }

    private String productNumber;

    public int getProgrammeId() {
        return programmeId;
    }

    public void setProgrammeId(int programmeId) {
        this.programmeId = programmeId;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public String getProgrammeName() {
        return programmeName;
    }

    public void setProgrammeName(String programmeName) {
        this.programmeName = programmeName;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public double getProgrammeAmount() {
        return programmeAmount;
    }

    public void setProgrammeAmount(double programmeAmount) {
        this.programmeAmount = programmeAmount;
    }

    public double getCompletionAmount() {
        return completionAmount;
    }

    public void setCompletionAmount(double completionAmount) {
        this.completionAmount = completionAmount;
    }

    public double getRationalLoss() {
        return rationalLoss;
    }

    public void setRationalLoss(double rationalLoss) {
        this.rationalLoss = rationalLoss;
    }

    public int getProgrammeState() {
        return programmeState;
    }

    public void setProgrammeState(int programmeState) {
        this.programmeState = programmeState;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    public Integer getFillingLineId() {
        return fillingLineId;
    }

    public void setFillingLineId(Integer fillingLineId) {
        this.fillingLineId = fillingLineId;
    }

    public Integer getTankId() {
        return tankId;
    }

    public void setTankId(Integer tankId) {
        this.tankId = tankId;
    }

    public Integer getWorkstationId() {
        return workstationId;
    }

    public void setWorkstationId(Integer workstationId) {
        this.workstationId = workstationId;
    }

    public String getPackagelineName() {
        return packagelineName;
    }

    public void setPackagelineName(String packagelineName) {
        this.packagelineName = packagelineName;
    }

    public Integer getProductLineId() {
        return productLineId;
    }

    public void setProductLineId(Integer productLineId) {
        this.productLineId = productLineId;
    }

    public Date getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Date planTime) {
        this.planTime = planTime;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }
}
